package VN.EDU.IMIC.DEVELOPER.NGUYENTHUYOANH_LV1_06;

import java.util.Scanner;

public class Views {

	public static void main(String[] args) {

		EvenOdd obj_EvenOdd=new EvenOdd();
		Scanner obj_Scanner=new Scanner(System.in);
		
		Controller obj_Controller =new Controller(obj_EvenOdd);
		
		System.out.println("Nhap so");
		obj_EvenOdd.setA(obj_Scanner.nextInt());
		
		System.out.println("Nhap loai so ");
		System.out.println("1- Le ; 2- Chan");
		obj_EvenOdd.setLoaiso(obj_Scanner.nextShort());
		
		
		if(obj_EvenOdd.getLoaiso()==1 ||(obj_EvenOdd.getLoaiso()==2))
		{
			obj_Controller.CheckIsEvenOdd();
		}
		else
		{
			System.out.println("Khong co su lua chon nay");
		}
			
		
		
		
	}

}
